// import 'package:basic/glass_button.dart';
// import 'package:basic/todos_screen.dart';

// import 'returning_data_screen.dart';
import 'package:flutter/material.dart';
import 'package:glassmorphism/glassmorphism.dart';

class App extends StatelessWidget {
  const App({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      // home: ReturningDataScreen(),
      // home: TodosScreen(
      //   todos: List.generate(
      //     20,
      //     (i) => Todo(
      //       'Todo $i',
      //       'A description of what needs to be done for Todo $i',
      //     ),
      //   ),
      // ),
      home: Scaffold(
        backgroundColor: Colors.blueGrey[900],
        body: Center(
          child: GlassmorphicContainer(
            width: 200,
            height: 60,
            borderRadius: 16,
            blur: 12,
            alignment: Alignment.center,
            border: 1.5,
            linearGradient: LinearGradient(
              colors: [
                Colors.white.withValues(alpha: 0.25),
                Colors.white.withValues(alpha: 0.10),
              ],
            ),
            borderGradient: LinearGradient(
              colors: [
                Colors.white.withValues(alpha: 0.60),
                Colors.transparent,
              ],
            ),
            child: const Text(
              'Glass Button',
              style: TextStyle(color: Colors.white, fontSize: 18),
            ),
          ),
        ),
      ),
    );
  }
}
